package com.esdk.test.orm;
import com.esdk.sql.orm.ParentRow;
import java.sql.SQLException;
import java.sql.Connection;
import com.esdk.esdk;
import java.util.Date;

public class SysUserRow extends ParentRow<SysUserRow>{
  public transient static final String PrimaryKey=SysUserMetaData.PrimaryKey;
  public transient static final String tableName=SysUserMetaData.TABLENAME;
  public transient static final SysUserMetaData metaData=SysUserSelect.metaData;
  public transient static final SysUserMetaData md=metaData;
  public SysUserRow(){
    super();
    setAutoIncrement(SysUserMetaData.IsAutoIncrement);
  }

  public SysUserRow(Connection conn){
    this();
    setConnection(conn);
  }

  public SysUserRow(Connection conn,Number pkid)throws SQLException{
    this();
    setConnection(conn);
    refresh(pkid);
  }

  public SysUserMetaData getMetaData(){
    return metaData;
  }

  public SysUserRow newSelf(){
    return new SysUserRow();
  }

  public Long getUserId(){
    return esdk.obj.convert(get(SysUserMetaData.UserId),Long.class);
  }

  public void setUserId(Long value){
    setNewValue(SysUserMetaData.UserId,value);
  }

  public String getUserType(){
    return esdk.obj.convert(get(SysUserMetaData.UserType),String.class);
  }

  public void setUserType(String value){
    setNewValue(SysUserMetaData.UserType,value);
  }

  public String getUserCode(){
    return esdk.obj.convert(get(SysUserMetaData.UserCode),String.class);
  }

  public void setUserCode(String value){
    setNewValue(SysUserMetaData.UserCode,value);
  }

  public String getUserName(){
    return esdk.obj.convert(get(SysUserMetaData.UserName),String.class);
  }

  public void setUserName(String value){
    setNewValue(SysUserMetaData.UserName,value);
  }

  public String getUserNick(){
    return esdk.obj.convert(get(SysUserMetaData.UserNick),String.class);
  }

  public void setUserNick(String value){
    setNewValue(SysUserMetaData.UserNick,value);
  }

  public String getSex(){
    return esdk.obj.convert(get(SysUserMetaData.Sex),String.class);
  }

  public void setSex(String value){
    setNewValue(SysUserMetaData.Sex,value);
  }

  public String getMobile(){
    return esdk.obj.convert(get(SysUserMetaData.Mobile),String.class);
  }

  public void setMobile(String value){
    setNewValue(SysUserMetaData.Mobile,value);
  }

  public String getEmail(){
    return esdk.obj.convert(get(SysUserMetaData.Email),String.class);
  }

  public void setEmail(String value){
    setNewValue(SysUserMetaData.Email,value);
  }

  public String getPassword(){
    return esdk.obj.convert(get(SysUserMetaData.Password),String.class);
  }

  public void setPassword(String value){
    setNewValue(SysUserMetaData.Password,value);
  }

  public String getRemark(){
    return esdk.obj.convert(get(SysUserMetaData.Remark),String.class);
  }

  public void setRemark(String value){
    setNewValue(SysUserMetaData.Remark,value);
  }

  public String getAvatarUrl(){
    return esdk.obj.convert(get(SysUserMetaData.AvatarUrl),String.class);
  }

  public void setAvatarUrl(String value){
    setNewValue(SysUserMetaData.AvatarUrl,value);
  }

  public Long getTenantId(){
    return esdk.obj.convert(get(SysUserMetaData.TenantId),Long.class);
  }

  public void setTenantId(Long value){
    setNewValue(SysUserMetaData.TenantId,value);
  }

  public Long getLoginTenantId(){
    return esdk.obj.convert(get(SysUserMetaData.LoginTenantId),Long.class);
  }

  public void setLoginTenantId(Long value){
    setNewValue(SysUserMetaData.LoginTenantId,value);
  }

  public String getTenantIds(){
    return esdk.obj.convert(get(SysUserMetaData.TenantIds),String.class);
  }

  public void setTenantIds(String value){
    setNewValue(SysUserMetaData.TenantIds,value);
  }

  public String getTenantNames(){
    return esdk.obj.convert(get(SysUserMetaData.TenantNames),String.class);
  }

  public void setTenantNames(String value){
    setNewValue(SysUserMetaData.TenantNames,value);
  }

  public String getOrgIds(){
    return esdk.obj.convert(get(SysUserMetaData.OrgIds),String.class);
  }

  public void setOrgIds(String value){
    setNewValue(SysUserMetaData.OrgIds,value);
  }

  public String getOrgNames(){
    return esdk.obj.convert(get(SysUserMetaData.OrgNames),String.class);
  }

  public void setOrgNames(String value){
    setNewValue(SysUserMetaData.OrgNames,value);
  }

  public String getRoleIds(){
    return esdk.obj.convert(get(SysUserMetaData.RoleIds),String.class);
  }

  public void setRoleIds(String value){
    setNewValue(SysUserMetaData.RoleIds,value);
  }

  public String getRoleNames(){
    return esdk.obj.convert(get(SysUserMetaData.RoleNames),String.class);
  }

  public void setRoleNames(String value){
    setNewValue(SysUserMetaData.RoleNames,value);
  }

  public String getRank(){
    return esdk.obj.convert(get(SysUserMetaData.Rank),String.class);
  }

  public void setRank(String value){
    setNewValue(SysUserMetaData.Rank,value);
  }

  public Boolean getIsEnabled(){
    return esdk.obj.convert(get(SysUserMetaData.IsEnabled),Boolean.class);
  }

  public void setIsEnabled(Boolean value){
    setNewValue(SysUserMetaData.IsEnabled,value);
  }

  public Boolean getValid(){
    return esdk.obj.convert(get(SysUserMetaData.Valid),Boolean.class);
  }

  public void setValid(Boolean value){
    setNewValue(SysUserMetaData.Valid,value);
  }

  public Date getCreateTime(){
    return esdk.obj.convert(get(SysUserMetaData.CreateTime),Date.class);
  }

  public void setCreateTime(Date value){
    setNewValue(SysUserMetaData.CreateTime,value);
  }

  public Long getCreateUserId(){
    return esdk.obj.convert(get(SysUserMetaData.CreateUserId),Long.class);
  }

  public void setCreateUserId(Long value){
    setNewValue(SysUserMetaData.CreateUserId,value);
  }

  public String getCreateUserName(){
    return esdk.obj.convert(get(SysUserMetaData.CreateUserName),String.class);
  }

  public void setCreateUserName(String value){
    setNewValue(SysUserMetaData.CreateUserName,value);
  }

  public Date getUpdateTime(){
    return esdk.obj.convert(get(SysUserMetaData.UpdateTime),Date.class);
  }

  public void setUpdateTime(Date value){
    setNewValue(SysUserMetaData.UpdateTime,value);
  }

  public Long getUpdateUserId(){
    return esdk.obj.convert(get(SysUserMetaData.UpdateUserId),Long.class);
  }

  public void setUpdateUserId(Long value){
    setNewValue(SysUserMetaData.UpdateUserId,value);
  }

  public String getUpdateUserName(){
    return esdk.obj.convert(get(SysUserMetaData.UpdateUserName),String.class);
  }

  public void setUpdateUserName(String value){
    setNewValue(SysUserMetaData.UpdateUserName,value);
  }

  public Integer getVersion(){
    return esdk.obj.convert(get(SysUserMetaData.Version),Integer.class);
  }

  public void setVersion(Integer value){
    setNewValue(SysUserMetaData.Version,value);
  }

}
